Check that the fontsel has a screen assigned before doing anything. This
authorFederico Mena Quintero <federico@novell.com>
Mon, 27 Feb 2006 18:18:57 +0000 (18:18 +0000)
committerFederico Mena Quintero <federico@src.gnome.org>
Mon, 27 Feb 2006 18:18:57 +0000 (18:18 +0000)
commit563bfa813ac2732ee04d7656d28116ad0ee05500
tree3f622668856739e7ee08868a16e95421cd88d859
parent2da390bc2fbd4900c62375365ae0eadcd8b42e7a
Check that the fontsel has a screen assigned before doing anything. This

2006-02-27  Federico Mena Quintero  <federico@novell.com>

* gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Check that
the fontsel has a screen assigned before doing anything.  This
will at least warn the caller of what is wrong, since we only
populate the family_list until we get a screen.  Also, put the
reference docs here.  Fixes bug #332756.
(gtk_font_selection_dialog_get_font_name): Document this here.
(gtk_font_selection_get_font_name): Document this here; mention
that the font names get normalized, so the result of this function
may not be the same as what you set with
gtk_font_selection_set_font_name().
ChangeLog
ChangeLog.pre-2-10
docs/reference/gtk/tmpl/gtkfontsel.sgml
docs/reference/gtk/tmpl/gtkfontseldlg.sgml
gtk/gtkfontsel.c